package cn.marinda.manager;

import cn.marinda.config.*;
import cn.marinda.factory.SettingFactory;

public class ConfigManager {

    public static ConfigManager configManager = new ConfigManager();

    private ConfigManager(){

    }

    public void onLoadAllConfiguration(){
        SettingConfig settingConfig = SettingConfig.instance;
        PluginConfig pluginConfig = PluginConfig.instance;
        ModConfig modConfig = ModConfig.instance;
        ServerConfig serverConfig = ServerConfig.instance;
    }

    /**
     * 通过设置配置
     * 创建所有设置
     *
     * @param settingConfigName 设置配置名称
     * @return boolean
     */

    public SettingConfiguration getSettingConfigByName(String settingConfigName){
        return SettingFactory.getSettingFactoryByName(settingConfigName);
    }
}
